/*
* This file is a part of the open-eBackup project.
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*
* Copyright (c) [2024] Huawei Technologies Co.,Ltd.
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
*/
#include "QueryVdcListRequest.h"

namespace HcsPlugin {
QueryVdcListRequest::QueryVdcListRequest() {}

QueryVdcListRequest::~QueryVdcListRequest() {}

Scope QueryVdcListRequest::GetScopeType() const
{
    return Scope::USER_DOMAIN;
}

ApiType QueryVdcListRequest::GetApiType()
{
    return ApiType::SC;
}

int32_t QueryVdcListRequest::GetStart() const
{
    return m_start;
}

void QueryVdcListRequest::SetStart(const int32_t &value)
{
    m_start = value;
    m_startIsSet = true;
}

bool QueryVdcListRequest::StartIsSet() const
{
    return m_startIsSet;
}

int32_t QueryVdcListRequest::GetLimit() const
{
    return m_limit;
}

void QueryVdcListRequest::SetLimit(const int32_t &value)
{
    m_limit = value;
    m_limitIsSet = true;
}

bool QueryVdcListRequest::LimitIsSet() const
{
    return m_limitIsSet;
}

std::string QueryVdcListRequest::GetUpperVdcId() const
{
    return m_upperVdcId;
}

void QueryVdcListRequest::SetUpperVdcId(const std::string &value)
{
    m_upperVdcId = value;
    m_upperVdcIdIsSet = true;
}

bool QueryVdcListRequest::UpperVdcIdIsSet() const
{
    return m_upperVdcIdIsSet;
}

std::string QueryVdcListRequest::GetIsDomain() const
{
    return m_IsDomain;
}

bool QueryVdcListRequest::IsDomainIsSet() const
{
    return m_isDomainIsSet;
}

void QueryVdcListRequest::SetIsDomain(const std::string &value)
{
    m_IsDomain = value;
    m_isDomainIsSet = true;
}

int32_t QueryVdcListRequest::GetLevel() const
{
    return m_level;
}

bool QueryVdcListRequest::LevelIsSet() const
{
    return m_levelIsSet;
}

void QueryVdcListRequest::SetLeveL(const int32_t &value)
{
    m_level = value;
    m_levelIsSet = true;
}

std::string QueryVdcListRequest::GetDomainId() const
{
    return m_domainId;
}

bool QueryVdcListRequest::DomainIdIsSet() const
{
    return m_domainIdIsSet;
}

void QueryVdcListRequest::SetDomainId(const std::string &value)
{
    m_domainId = value;
    m_domainIdIsSet = true;
}
}